Iterator.end

Instance of

Boolean

Description

Represents the end of iteration.

Example

let it <- [1, 2, 3, 4].iterator()
while (!(let i <- it.next()) is Iterator.end)
    console.write(i)

Expected output

1234